/*
 * Player.h
 *
 *  Created on: 24 déc. 2010
 *      Author: remz
 */

#include <string>
#include <iostream>

#include "../Action/IAction.h"

#ifndef __PLAYER_H__
#define __PLAYER_H__

namespace rpg
{
	class Player: public IAction
	{
		private:
			std::string m_Name;
			int m_Sexe;
			int m_Class;
			int m_Level;
			int m_Str;
			int m_Dext;
			int m_Int;
			int m_Hp;
			int m_Mp;
			int m_Weapon;
			int m_Armor;
			int m_Xp;

		public:
			Player(std::string Name = std::string(), int Sexe = 0, int Class = 0, int Level = 0, int Str = 0,
				   int Dext = 0, int Int = 0, int Hp = 0, int Mp = 0, int Weapon = 0, int Armor = 0, int Xp = 0);
			virtual ~Player(void);

			std::string getName() const;
			void setName(std::string Name);

			int getSexe() const;
			void setSexe(int Sexe);

			int getClass() const;
			void setClass(int Class);

			int getLevel() const;
			void setLevel(int Level);

			int getXp() const;
			void setXp(int Xp);

			int getStr() const;
			void setStr(int Str);

			int getDext() const;
			void setDext(int Dext);

			int getInt() const;
			void setInt(int Int);

			int getHp() const;
			void setHp(int Hp);

			int getMp() const;
			void setMp(int Mp);

			int getWeapon() const;
			void setWeapon(int Weapon);

			int getArmor() const;
			void setArmor(int Armor);

			int Attack(bool Crit);
			int Defend();

	};
}
#endif /* __PLAYER_H__ */
